--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 1d2f785e701d9333c87782c8f78cef8187a8d627
Parents : 0bd99d3
Author : Mark Qvist <mark@unsigned.io>
Date : 2023-02-04T20:56:10+01:00
Revert qrcode to fix invalid import. Update FileProvider class.
Changes
3 files changed, 4 insertions(+), 4 deletions(-)
Diff
diff --git a/sbapp/buildozer.spec b/sbapp/buildozer.spec
index 07e2e98f..ed52556f 100644
--- a/sbapp/buildozer.spec
+++ b/sbapp/buildozer.spec
@@ -12,7 +12,7 @@ version.regex = __version__ = ['"](.*)['"]
version.filename = %(source.dir)s/main.py
android.numeric_version = 20221223
-requirements = python3==3.9.5,hostpython3==3.9.5,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,netifaces,libbz2,pydenticon,usb4a,usbserial4a,qrcode
+requirements = python3==3.9.5,hostpython3==3.9.5,cryptography,cffi,pycparser,kivy==2.1.0,pygments,sdl2,sdl2_ttf==2.0.15,pillow,qrcode==7.3.1,netifaces,libbz2,pydenticon,usb4a,usbserial4a
p4a.local_recipes = ../Others/python-for-android/pythonforandroid/recipes
requirements.source.kivymd = ../../Others/KivyMD-master
diff --git a/sbapp/main.py b/sbapp/main.py
index c2611e15..cec91b47 100644
--- a/sbapp/main.py
+++ b/sbapp/main.py
@@ -1,4 +1,4 @@
-__debug_build__ = False
+__debug_build__ = True
__disable_shaders__ = True
__version__ = "0.5.2"
__variant__ = "beta"
@@ -294,7 +294,7 @@ class SidebandApp(MDApp):
Intent = autoclass("android.content.Intent")
Uri = autoclass("android.net.Uri")
File = autoclass("java.io.File")
- FileProvider = autoclass("android.support.v4.content.FileProvider")
+ FileProvider = autoclass("androidx.core.content.FileProvider")
image.save(file_path)
i_file = File(file_path)
diff --git a/sbapp/services/sidebandservice.py b/sbapp/services/sidebandservice.py
index 6bacded7..171bf837 100644
--- a/sbapp/services/sidebandservice.py
+++ b/sbapp/services/sidebandservice.py
@@ -1,4 +1,4 @@
-__debug_build__ = False
+__debug_build__ = True
import time
import RNS
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────